﻿using Model;

using System;
using System.Collections.Generic;
using System.Text;

namespace BLL
{
    
   public class ExpenseRBLL
    {
        private readonly IExpenseR  _expenseR;
        public ExpenseRBLL(IExpenseR expenseR) {
            _expenseR = expenseR;
        }
        public int Add(ExpenseR e)
        {
            return _expenseR.Add(e);
        }
        public int update(int  id,string name)
        {
            return _expenseR.update(id,name);
        }
        public IEnumerable<ExpenseR> Rs()
        {
            return _expenseR.Rs();
        }

    }
}
